package com.gy.def.service;

import com.gy.def.dataobject.CourseTable;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface CourseService {
  CourseTable save(CourseTable ct);

  CourseTable findByCourseNameAndIsDelete(String courseName, int isDelete);

  Page<CourseTable> findByIsDelete(int isDelete, Pageable pageable);

  CourseTable findByCourseId(String courseId);
}
